package com.example.qxfw.slhx.service;

import com.example.qxfw.common.entity.zy.FireHistory;

import java.util.List;

public interface LshzglService {
    /**
     * 火险历史表信息
     * @return
     */
    List<FireHistory> getAllFireHistory();

    /**
     * 插入数据
     * @param fireHistory
     * @return
     */
    FireHistory insertOneData(FireHistory fireHistory);

    /**
     * 删除数据
     * @param id
     * @return
     */
    int deleteById(int id);

    /**
     * 更新数据
     * @param fireHistory
     * @return
     */
    FireHistory updateById(FireHistory fireHistory);

    /**
     * 条件查询
     * @return
     */
    List<FireHistory> attributeSearch(
            String firename, String address, String stationname, float areaStart, float areaEnd,
            int popthreatStart, int popthreatEnd, float propertythreatStart, float propertythreatEnd
    );

    /**
     * 地图查询
     * @return
     */
    List<FireHistory> conditionalQuery(String[][] pos);
}
